package com.action.gulimall.order.service.feign.FallBack;

import com.action.common.exception.BizCodeEnum;
import com.action.common.utils.R;
import com.action.gulimall.order.service.feign.CartFeignService;

/**
 * @author sl shilun217@qq.com
 * @Deacription 异常降级
 * @date 2021/07/03/16:41
 **/
public class CartFeignServiceFallBack implements CartFeignService{

    @Override
    public R getCheckedCartItems() {
        return R.error(BizCodeEnum.FEIGN_SERVICE_EXCEPTION.getCode(), BizCodeEnum.FEIGN_SERVICE_EXCEPTION.getMessage());
    }
}
